package com.gitee.dgwcode.action;

import com.gitee.dgwcode.domain.Customer;
import com.opensymphony.xwork2.ActionSupport;
import com.opensymphony.xwork2.ModelDriven;

public class ConversionAction extends ActionSupport
implements ModelDriven<Customer>{

	/**
	 * 
	 */
	private static final long serialVersionUID = 6732463875925422283L;
	
	private Customer model;
	
	@Override
	public String execute() throws Exception {
		System.out.println(model.toString());
		return super.execute();
	}


	@Override
	public Customer getModel() {
		model = new Customer();
		return model;
	}
	
	

}
